3.6.19 \(\int \frac {\sqrt {2-b x}}{x^{7/2}} \, dx\) [519]

Optimal. Leaf size=40 \[ -\frac {(2-b x)^{3/2}}{5 x^{5/2}}-\frac {b (2-b x)^{3/2}}{15 x^{3/2}} \]

[Out]

-1/5*(-b*x+2)^(3/2)/x^(5/2)-1/15*b*(-b*x+2)^(3/2)/x^(3/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {47, 37} \begin {gather*} -\frac {b (2-b x)^{3/2}}{15 x^{3/2}}-\frac {(2-b x)^{3/2}}{5 x^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[2 - b*x]/x^(7/2),x]

[Out]

-1/5*(2 - b*x)^(3/2)/x^(5/2) - (b*(2 - b*x)^(3/2))/(15*x^(3/2))

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n +
1)/((b*c - a*d)*(m + 1))), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^(n + 1
)/((b*c - a*d)*(m + 1))), x] - Dist[d*(Simplify[m + n + 2]/((b*c - a*d)*(m + 1))), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {\sqrt {2-b x}}{x^{7/2}} \, dx &=-\frac {(2-b x)^{3/2}}{5 x^{5/2}}+\frac {1}{5} b \int \frac {\sqrt {2-b x}}{x^{5/2}} \, dx\\ &=-\frac {(2-b x)^{3/2}}{5 x^{5/2}}-\frac {b (2-b x)^{3/2}}{15 x^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 31, normalized size = 0.78 \begin {gather*} \frac {\sqrt {2-b x} \left (-6+b x+b^2 x^2\right )}{15 x^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[2 - b*x]/x^(7/2),x]

[Out]

(Sqrt[2 - b*x]*(-6 + b*x + b^2*x^2))/(15*x^(5/2))

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in optimal.
time = 5.05, size = 117, normalized size = 2.92 \begin {gather*} \text {Piecewise}\left [\left \{\left \{\frac {\sqrt {b} \left (12-8 b x+b^2 x^2 \left (-1+b x\right )\right ) \sqrt {\frac {2-b x}{b x}}}{15 x^2 \left (-2+b x\right )},\frac {1}{\text {Abs}\left [b x\right ]}>\frac {1}{2}\right \}\right \},\frac {I b^{\frac {5}{2}} \sqrt {1-\frac {2}{b x}}}{15}-\frac {2 I \sqrt {b} \sqrt {1-\frac {2}{b x}}}{5 x^2}+\frac {I b^{\frac {3}{2}} \sqrt {1-\frac {2}{b x}}}{15 x}\right ] \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[Sqrt[2 - b*x]/x^(7/2),x]')

[Out]

Piecewise[{{Sqrt[b] (12 - 8 b x + b ^ 2 x ^ 2 (-1 + b x)) Sqrt[(2 - b x) / (b x)] / (15 x ^ 2 (-2 + b x)), 1 /
 Abs[b x] > 1 / 2}}, I b ^ (5 / 2) Sqrt[1 - 2 / (b x)] / 15 - 2 I Sqrt[b] Sqrt[1 - 2 / (b x)] / (5 x ^ 2) + I
b ^ (3 / 2) Sqrt[1 - 2 / (b x)] / (15 x)]

________________________________________________________________________________________

Maple [A]
time = 0.11, size = 46, normalized size = 1.15

method result size
gosper \(-\frac {\left (b x +3\right ) \left (-b x +2\right )^{\frac {3}{2}}}{15 x^{\frac {5}{2}}}\) \(19\)
meijerg \(-\frac {2 \sqrt {2}\, \left (-\frac {1}{6} x^{2} b^{2}-\frac {1}{6} b x +1\right ) \sqrt {-\frac {b x}{2}+1}}{5 x^{\frac {5}{2}}}\) \(31\)
default \(-\frac {2 \sqrt {-b x +2}}{5 x^{\frac {5}{2}}}-\frac {b \left (-\frac {\sqrt {-b x +2}}{3 x^{\frac {3}{2}}}-\frac {b \sqrt {-b x +2}}{3 \sqrt {x}}\right )}{5}\) \(46\)
risch \(-\frac {\sqrt {\left (-b x +2\right ) x}\, \left (b^{3} x^{3}-x^{2} b^{2}-8 b x +12\right )}{15 x^{\frac {5}{2}} \sqrt {-b x +2}\, \sqrt {-x \left (b x -2\right )}}\) \(55\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-b*x+2)^(1/2)/x^(7/2),x,method=_RETURNVERBOSE)

[Out]

-2/5*(-b*x+2)^(1/2)/x^(5/2)-1/5*b*(-1/3*(-b*x+2)^(1/2)/x^(3/2)-1/3*b*(-b*x+2)^(1/2)/x^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.26, size = 28, normalized size = 0.70 \begin {gather*} -\frac {{\left (-b x + 2\right )}^{\frac {3}{2}} b}{6 \, x^{\frac {3}{2}}} - \frac {{\left (-b x + 2\right )}^{\frac {5}{2}}}{10 \, x^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x+2)^(1/2)/x^(7/2),x, algorithm="maxima")

[Out]

-1/6*(-b*x + 2)^(3/2)*b/x^(3/2) - 1/10*(-b*x + 2)^(5/2)/x^(5/2)

________________________________________________________________________________________

Fricas [A]
time = 0.31, size = 25, normalized size = 0.62 \begin {gather*} \frac {{\left (b^{2} x^{2} + b x - 6\right )} \sqrt {-b x + 2}}{15 \, x^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x+2)^(1/2)/x^(7/2),x, algorithm="fricas")

[Out]

1/15*(b^2*x^2 + b*x - 6)*sqrt(-b*x + 2)/x^(5/2)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 2.95, size = 194, normalized size = 4.85 \begin {gather*} \begin {cases} \frac {b^{\frac {9}{2}} x^{2} \sqrt {-1 + \frac {2}{b x}}}{15 b^{2} x^{2} - 30 b x} - \frac {b^{\frac {7}{2}} x \sqrt {-1 + \frac {2}{b x}}}{15 b^{2} x^{2} - 30 b x} - \frac {8 b^{\frac {5}{2}} \sqrt {-1 + \frac {2}{b x}}}{15 b^{2} x^{2} - 30 b x} + \frac {12 b^{\frac {3}{2}} \sqrt {-1 + \frac {2}{b x}}}{x \left (15 b^{2} x^{2} - 30 b x\right )} & \text {for}\: \frac {1}{\left |{b x}\right |} > \frac {1}{2} \\\frac {i b^{\frac {5}{2}} \sqrt {1 - \frac {2}{b x}}}{15} + \frac {i b^{\frac {3}{2}} \sqrt {1 - \frac {2}{b x}}}{15 x} - \frac {2 i \sqrt {b} \sqrt {1 - \frac {2}{b x}}}{5 x^{2}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x+2)**(1/2)/x**(7/2),x)

[Out]

Piecewise((b**(9/2)*x**2*sqrt(-1 + 2/(b*x))/(15*b**2*x**2 - 30*b*x) - b**(7/2)*x*sqrt(-1 + 2/(b*x))/(15*b**2*x
**2 - 30*b*x) - 8*b**(5/2)*sqrt(-1 + 2/(b*x))/(15*b**2*x**2 - 30*b*x) + 12*b**(3/2)*sqrt(-1 + 2/(b*x))/(x*(15*
b**2*x**2 - 30*b*x)), 1/Abs(b*x) > 1/2), (I*b**(5/2)*sqrt(1 - 2/(b*x))/15 + I*b**(3/2)*sqrt(1 - 2/(b*x))/(15*x
) - 2*I*sqrt(b)*sqrt(1 - 2/(b*x))/(5*x**2), True))

________________________________________________________________________________________

Giac [A]
time = 0.01, size = 109, normalized size = 2.72 \begin {gather*} \frac {2 b^{2} \left (\frac {15}{450} b^{5} \sqrt {-b x+2} \sqrt {-b x+2}-\frac {75}{450} b^{5}\right ) \sqrt {-b x+2} \sqrt {-b x+2} \sqrt {-b x+2} \sqrt {-b \left (-b x+2\right )+2 b}}{\left |b\right | b \left (-b \left (-b x+2\right )+2 b\right )^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-b*x+2)^(1/2)/x^(7/2),x)

[Out]

1/15*((b*x - 2)*b^5 + 5*b^5)*(b*x - 2)*sqrt(-b*x + 2)*b/(((b*x - 2)*b + 2*b)^(5/2)*abs(b))

________________________________________________________________________________________

Mupad [B]
time = 0.22, size = 26, normalized size = 0.65 \begin {gather*} \frac {\sqrt {2-b\,x}\,\left (\frac {b^2\,x^2}{15}+\frac {b\,x}{15}-\frac {2}{5}\right )}{x^{5/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2 - b*x)^(1/2)/x^(7/2),x)

[Out]

((2 - b*x)^(1/2)*((b*x)/15 + (b^2*x^2)/15 - 2/5))/x^(5/2)

________________________________________________________________________________________